package com.computergames.server.message;

import lombok.Data;
import lombok.ToString;

@Data
@ToString(callSuper = true)
public class AcknowledgeMessage extends Message implements HasJwtToken{
    private String acknowledge;
    private String jwtToken;

    public AcknowledgeMessage() {
    }

    //固定格式： OK ***
    public AcknowledgeMessage(String acknowledge, String jwtToken) {
        this.acknowledge = acknowledge;
        this.jwtToken = jwtToken;
    }

    @Override
    public int getMessageType() {
        return AcknowledgeMessage;
    }
}
